/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cataletra.main;

import java.awt.Dimension;
import java.awt.Toolkit;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
import cataletra.gui.JanelaPrincipal;

/**
 *
 * @author arthur
 */
public class Main {

    private static JanelaPrincipal janelaPrincipal;

    public static void main(String args[]) {
        // TODO code application logic here

        // Get the native look and feel class name
        String nativeLF = UIManager.getSystemLookAndFeelClassName();

        // Install the look and feel
        try {
            UIManager.setLookAndFeel(nativeLF);
        } catch(InstantiationException e){
        } catch(ClassNotFoundException e){
        } catch(UnsupportedLookAndFeelException e){
        } catch(IllegalAccessException e){
        }

        janelaPrincipal = new JanelaPrincipal();
        janelaPrincipal.setVisible(true);
    }

    public static JanelaPrincipal getJanelaPrincipal() {
        return janelaPrincipal;
    }
}
